import {
    getHttp,
    postHttp,
    deleteHttp
} from '../utils/http'

// 销售楼盘管理
// eslint-disable-next-line import/no-anonymous-default-export
export default {
    getSaleTable: async (params) => {
        return await getHttp('/HouseManagement', params)
    },
    delSaleItem: async (params) => {
        return await deleteHttp('/DeleteHouseManagement', params)
    },
    editItem: async (params) => {
        return await postHttp('/MeteSetHouseManagement', params)
    },
    addItem: async (params) => {
        return await postHttp('/', params)
    }
}